﻿namespace CraftingCode.SymbolicCalculator
{
    public class Literal : Node
    {
        private readonly int value;

        public Literal(int value)
        {
            this.value = value;
        }

        public override int Evaluate()
        {
            return this.value;
        }
    }
}